﻿// Copyright (C) 2013 João Pedro Correia - All Rights Reserved
// Code under the terms of the GPLv2 license
// URL: http://flowstudio.codeplex.com

namespace FlowStudio
{
    using GalaSoft.MvvmLight.Messaging;
    using ViewModel.Messages;

    /// <summary>
    /// Interaction logic for OptionsWindow.xaml
    /// </summary>
    public partial class OptionsWindow
    {
        public OptionsWindow()
        {
            InitializeComponent();

            Messenger.Default.Register<CloseOptionsMessage>(this, OnCloseOptionsMessage);
        }

        private void OnCloseOptionsMessage(CloseOptionsMessage closeOptionsMessage)
        {
            Close();
        }
    }
}
